//
//  main.cpp
//  cx4_1
//
//  Created by baili on 2024/5/18.
//

#include <iostream>
//do while 获取1 ~ 100 的值
void continueF();
int main(int argc, const char * argv[]) {
    // insert code here...
    std::cout << "Hello, World!\n";
    int n = 1;
    int sum = 0;
    do {
        sum += n;
        n++;
        std::cout << n ;
        std::cout << "\n" ;
        std::cout << sum ;
        std::cout << "\n" ;
    } while (n<=100);
    std::cout << sum ;
    std::cout << "\n" ;
    continueF();
    return 0;
}


void continueF(){
    
}
